#ifndef __SPI_H
#define __SPI_H

#ifdef __cplusplus
extern "C"
{
#endif  /* #ifdef __cplusplus */

/* Includes ------------------------------------------------------------------*/
#include "MS51_16K.H"

/* Exported types ------------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
#define SS_PIN P15

/* Exported functions ------------------------------------------------------- */
extern void Spi_Write_Byte(unsigned char u8SpiWB);
extern unsigned char Spi_Read_Byte(unsigned char u8SpiWB);

#ifdef __cplusplus
}
#endif  /* #ifdef __cplusplus */
#endif  /* #ifndef __SPI_H */
